package com.erp.web.controller.system;

import com.erp.framework.core.controller.BaseController;
import com.erp.system.service.DocumentService;
import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * FileName: DocumentController.java
 * SpringMVC控制器的详细说明
 *
 * @version 1.00
 * @Date 创建日期
 */
@Controller
@RequestMapping("/system/document")
public class DocumentController extends BaseController {
    @Autowired
    private DocumentService documentService;

    private String prefix = "system/document";

    @RequiresPermissions("system:document:view")
    @GetMapping()
    public String config() {
        return prefix + "/document";
    }
}
